import React from "react";
import Context from "../context";

class Child extends React.Component {
    render() {
        return (
            <Context.Consumer>
                {(value) => {
                    console.log(value);
                    return "Child";
                }}
            </Context.Consumer>
        );
    }
}
export default Child;
